package com.huiyun.project.im.core.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @FileName:
 * @Description:
 * @Author linjie
 * @Date 2020/7/2110:07 AM
 * @Version 4.0.0
 */
@Data
public class ImUserDto {
    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.INPUT)
    private String id;
    @ApiModelProperty(value = "业务系统ID")
    private String bid;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "昵称")
    private String nick;

    @ApiModelProperty(value = "是否初始化密码 0.登录需要修改密码 1.正常")
    private Integer changePassword;

    @ApiModelProperty(value = "租户ID")
    private String imTenantId;

    @ApiModelProperty(value = "服务商ID")
    private String imSpId;

    @ApiModelProperty(value = "应用ID(用户>租户>应用组)")
    private String appId;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "账号类型 1.个人主账号 2.企业主账号 3.子账号 4.子账号(客服权限)")
    private Integer type;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    private String modifyBy;

    @ApiModelProperty(value = "修改时间(记录基础信息修改的最后时间)")
    private Date modifyTime;

    @ApiModelProperty(value = "0.正常 1.锁定")
    private String lockFlag;


    @ApiModelProperty(value = "所属应用")
    private String appName;


    @ApiModelProperty(value = "所属应用组")
    private String appGroupId;
    @ApiModelProperty(value = "所属应用组")
    private String appGroupName;
    @ApiModelProperty(value = "所属客服组)")
    private String userOrgId;
    @ApiModelProperty(value = "所属客服组)")
    private String userOrgName;

    @ApiModelProperty(value = "最后登陆IP(登陆完成后更新)")
    private String lastLoginIp;

    @ApiModelProperty(value = "最后登陆地址(登陆完成后更新)")
    private String lastLoginAddress;



}
